<div class="ban" {eyou:notempty name='$eyou.field.typelitpic' } style="background-image: url({$eyou.field.typelitpic})"
     {eyou:else /} style="background-image: url({$eyou.field.typeid|gettoptype=###,'litpic'})" {/eyou:notempty}></div>